filechooserwidget: Remove useless gtk_widget_show call
authorTimm Bäder <mail@baedert.org>
Sun, 2 Apr 2017 16:24:17 +0000 (18:24 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 2 Apr 2017 16:24:17 +0000 (18:24 +0200)
gtk/gtkfilechooserwidget.c

index ce2df3b0bad895a4e6f1604a15565b5114b19119..6524503224e512fc004497872257117fe8c6d79e 100644 (file)
@@ -6322,7 +6322,6 @@ add_custom_button_to_dialog (GtkDialog   *dialog,
 
   button = gtk_button_new_with_mnemonic (mnemonic_label);
   gtk_widget_set_can_default (button, TRUE);
-  gtk_widget_show (button);
 
   gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, response_id);
 }